from django.db import models


# Create your models here.
#简历信息
class resumep(models.Model):
    username = models.CharField(max_length=20)  # 姓名
    sex = models.CharField(max_length=10)  # 性别
    address = models.CharField(max_length=255)  # 地址
    phone = models.CharField(verbose_name="手机", max_length=11)  # 联系方式
    work = models.TextField()  # 工作经验
    educational = models.TextField()  # 教育
    job = models.TextField()  # 职位意向

    class Meta:
        verbose_name = "简历管理"
        verbose_name_plural = "简历管理"

#职位信息
class JOb(models.Model):
    company=models.CharField(max_length=255) #公司名称
    job=models.CharField(max_length=255) #职位名称
    address=models.CharField(max_length=255) #地址
    salary=models.CharField(max_length=255) #薪资
    experience=models.CharField(max_length=255) #工作经验
    education=models.CharField(max_length=255) #学历

    class Meta:
        verbose_name = "职位管理"
        verbose_name_plural = "职位管理"







